import 'dart:async';
import 'dart:convert';
import 'package:base_lib/common/bloc/base_bloc.dart';
import 'package:base_lib/common/index.dart';
import 'package:base_lib/index.dart';
import 'package:doctor_login_lib/cache/userinfo_cache.dart';
import 'package:doctor_login_lib/login/entity/doctor_login_entity.dart';
import 'package:doctor_prescribe_lib/offline/basic_info/bloc.dart';
import 'package:doctor_prescribe_lib/western_medicine/medical_search/entity/medical_search_entity.dart'
    as MedicineSearchBean;

///中药-处方开立页
class ChinesePrescriptionPageBloc extends BaseBloc {
  /// 处方页添加的药品列表
  static List<MedicineSearchBean.Datas> rxMedicineList = [];

  @override
  void initState() async {
    super.initState();
    doctorUser = await UserInfoCache.getInstance().get();
    basicInfoData = OfflineBasicInfoBloc.basicInfoData;
  }
  @override
  void dispose() {
    rxMedicineList.clear();
  }

  BasicInfoData basicInfoData;
  DoctorUser doctorUser;


}
